#include <stdio.h>
int main(void)
{
	int x=1,y=1,z=0,sum=0;
	for (i=1;i<=20,i++){
		z=x+y;
		x=y;
		y=z;
		sum=sum+z;
	}
	printf("%d",sum);
	return 0;
}